<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<!--
        	作者：肖静怡
        	时间：2018-10-22
        	描述：
        -->
		<title></title>
		<link rel="stylesheet" href="../../../base/plugins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="../../../base/plugins/font-awesome-4.7.0/css/font-awesome.css" media="all" />
	</head>
	<body>
		
		<legend><h3>修改用户信息</h3></legend>
    	<form class="layui-form">
    		<input type="hidden" id="token" name="baseModel.token"/>
    		<input type="hidden" id="userId" name="user.user_id"/>
    		<input type="hidden" id="version" name="user.version"/>
		<div class="layui-form-item">
			
 		  <label class="layui-form-label">头像:</label>
 		  <img id="showImg" src="../../../img/a.jpg" width="200" height="200">
 		   	<div class="layui-input-block">
				<input class="layui-input with" type="file" name="user.img_url" required  placeholder="请上传头像"/>
    </div>
  		 </div>
  
 		 <div class="layui-form-item">
 		  <label class="layui-form-label">*账号</label>
    		<div class="layui-input-block">
      <input type="text" name="user.account" required   placeholder="请输入账号" autocomplete="off" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">姓名:</label>
    <div class="layui-input-block">
      <input type="text" name="user.name" required placeholder="请输入姓名" autocomplete="off" class="layui-input">
    </div>
   
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">手机:</label>
    <div class="layui-input-block">
      <input type="text" name="user.phone" required  placeholder="请输入手机号码"  lay-verify="required|phone" autocomplete="off" class="layui-input">
    </div>
  </div>
  
   <div class="layui-form-item">
    <label class="layui-form-label">性别:</label>
    <div class="layui-input-block">
    	 <input type="radio" name="user.sex" value="0" title="保密">
      <input type="radio" name="user.sex" value="1" title="男">
      <input type="radio" name="user.sex" value="2" title="女" >
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">*出生日期:</label>
    <div class="layui-input-block">
    	  <input type="text" id="birthday" name="user.birthday" required   autocomplete="off" class="layui-input">
    </div>
  </div>
  
  	 <div class="layui-form-item">
  	 <label class="layui-form-label">*所属角色:</label>
     <div class="layui-input-block roleList">
 	 	
    </div>

  <div class="layui-form-item">
    <label class="layui-form-label">备注</label>
    <textarea name="user.memo" placeholder="请输入备注" style="height: 100px; width: 300px;"></textarea>
    
    <br />  <br />  <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <button class="layui-btn updateUser" lay-submit lay-filter="updateUser">提交</button>
      <button class="layui-btn layui-btn-primary">重置</button>
      <button class="layui-btn layui-btn-danger">关闭</button>
     </div>
     
  </div>
  
  
		<script src="../../../base/js/jquery-1.11.3.min.js"></script>
		<script src="../../../base/plugins/layui/layui.js"></script>
		<script src="js/update.js"></script>
	</body>
</html>
